package cn.zswltech.gruul.api;

import cn.zswltech.gruul.common.dto.ResourceViewREQ;
import cn.zswltech.gruul.common.dto.ResourceViewRSP;
import cn.zswltech.gruul.common.result.Response;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author Jim
 * @version 1.0.0
 * @descripition:
 * @date 2024/3/21 15:25
 */
public interface ResourceApi {

    /**
     * 打包资源
     */
    void packageResource();


    /**
     * 应用资源
     * @return
     */
    @PostMapping("/system/resource")
    Response<ResourceViewRSP> systemResource(@RequestBody ResourceViewREQ req);

}
